<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>demo4</title>
</head>
<body>
    <form action="file:///D:/彭盛宇/Music/Java EE进阶/JavaEE进阶课件/2. HTML + CSS + JavaScript.pdf" method="get" target="_blank" >
    <h1>用户注册</h1>
    <table>
        <tr>
            <td>用户名</td>
            <td><input type="text" placeholder="请输入用户名"></td>
        </tr>
        <tr>
            <td>手机号</td>
            <td><input type="text" placeholder="请输入手机号"></td>
        </tr>
        <tr>
            <td>密码</td>
            <td><input type="password" placeholder="请输入密码"></td>
        </tr>
    </table>
    <button>注册</button> &nbsp; 已有账号？ <a href="#">登录</a>

    <br><br><br><br><br>

    <h1>调查问卷</h1>

    姓名&nbsp;<input type="text"><br><br>

    年龄&nbsp;<input type="text" name="" id=""><br><br>

    班级&nbsp;<input type="text" name="" id="  "><br><br>
    性别：
    <input type="radio" name="g1" id="1"> <label for="1">男</label>
    <input type="radio" name="g1" id="2"> <label for="2">女</label>
    <input type="radio" name="g1" id="3"> <label for="3">保密</label><br><br>

    爱好：
    <input type="checkbox" name="h1" id="4"> <label for="4">篮球</label> 
    <input type="checkbox" name="h1" id="5"> <label for="5">足球</label> 
    <input type="checkbox" name="h1" id="6"> <label for="6">羽毛球</label> 
    <input type="checkbox" name="h1" id="7"> <label for="7">乒乓球</label> <br><br> 

    专业&nbsp;<select >
        <option value="">计算机科学与技术</option>
        <option value="" selected>软件工程</option>
        <option value="">物联网</option>
        <option value="">人工智能</option>

    </select><br><br><br>

    <button>提交</button>
</form>
</body>
</html>